package com.training.java.core.interfaces;

public class Cat implements Animal {
	
	private String name;
	private String color;
	private int age;
	
	
	/**
	 * @param name
	 * @param color
	 * @param age
	 */
	
	public Cat(String name, String color, int age) {
		super();
		this.name = name;
		this.color = color;
		this.age = age;
	}
	
	public void name()
	{
		System.out.println("Name of my cat is Miley");
	}
	

	public String getName() {
		return name;
	}

	public String getColor() {
		return color;
	}

	public int getAge() {
		return age;
	}


	@Override
	public void noise() {
		System.out.println( name + " jumps up and down when hears a knock.");

	}

	@Override
	public void houseSoiling() {
		System.out.println( name + " just has just pissed all over.");

	}

	@Override
	public void gettingAlong() {
		System.out.println( name + " is not getting along with other pets.");

	}

	@Override
	public void destructiveBehavior() {
		System.out.println( name + " is scratching, destroying things.");

	}

	@Override
	public void eat() {
		System.out.println( name + " is eating.");

	}

	@Override
	public void sleep() {
		System.out.println( name + " is sleeping.");

	}

}
